# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=buho
pkgver=3.0.1
pkgrel=1
pkgdesc='Task and note keeper'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-accounts mauikit-filebrowsing mauikit-texteditor hicolor-icon-theme)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('7b7d296f3cd255f2f701b57c83d06cef4b65b7ac0b15ace3adfba165797b5b39')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
